const { defineConfig } = require('@vue/cli-service') 
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')

module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  configureWebpack: {
    plugins: [
      new MonacoWebpackPlugin({
        languages: ['java'], // 只加载你需要的语言
        features: [
          'coreCommands',
          'contextmenu',
          'find',
          'hover',
          'bracketMatching', // 只加载你需要的功能
        ],
      }),
    ]
  }
})
